<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>university</title>
    <%@include file="/static/common/commonHead.jsp"%>
    <script type="text/javascript" src="/static/js/university/university.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>

    <a id="btn_changeState" class="easyui-linkbutton" iconCls="icon-man" plain="true" data-cmd="changState">签约</a>
    <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="delete">删除</a>
    <a class="easyui-linkbutton" iconCls="icon-see" plain="true" data-cmd="see">查看</a>

    <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>
    <a class="easyui-linkbutton" iconCls="icon-export" plain="true" data-cmd="exportXls">导出</a></br>

    <input id="ss" class="easyui-textbox"
           data-options="prompt:'学校/地址'" name="keyword">
    意向学科:<input class="easyui-combobox"
                data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=subject',valueField:'id',textField:'name',panelHeight:'auto',prompt:'意向学科'"
                name="subjectId">




    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="searchForEmp">查询</a>


</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">学校:</span></td>
                <td><input class="easyui-textbox" name="name" style="width: 175px;height: 35px;"/></td>
                <td><span style="font-size: 14px">地址:</span></td>
                <td><input class="easyui-textbox" name="address" style="width: 165px;height: 35px;"/></td>
                <td><span style="font-size: 14px">重要性:</span></td>
                <td><input class="easyui-combobox" name="importance.id" style="width: 165px;height: 35px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=importance',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>

            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">意向程度:</span></td>
                <td><input class="easyui-combobox" name="wantedLevel.id" style="width: 175px;height: 35px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=wantedLevel',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">意向学科:</span></td>
                <td><input class="easyui-combobox" name="subject.id" style="width: 165px;height: 35px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=subject',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">意向学区:</span></td>
                <td><input class="easyui-combobox" name="college.id" style="width: 165px;height: 35px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=college',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">联系人:</span></td>
                <td><input class="easyui-combobox" name="contact.id" style="width: 175px;height: 35px;"
                           data-options="url:'/contact/listAll.do',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">营销人员:</span></td>
                <td><input class="easyui-combobox" name="marketer.id" style="width: 165px;height: 35px;"
                           data-options="url:'/employee/listAll.do',textField:'username',valueField:'id',panelHeight:'auto'"/>
                </td>
                <td><span style="font-size: 14px">跟进人员:</span></td>
                <td><input class="easyui-combobox" name="tracer.id" style="width: 165px;height: 35px;"
                           data-options="url:'/employee/listAll.do',textField:'username',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">上次跟进日期:</span></td>
                <td><input class="easyui-datebox" name="prevTraceTime" style="width: 175px;height: 35px;"/></td>
                <td><span style="font-size: 14px">下次跟进日期:</span></td>
                <td><input class="easyui-datebox" name="nextTraceTime" style="width: 165px;height: 35px;"/></td>
                <td><span style="font-size: 14px">跟进状态:</span></td>
                <td>
                    <select class="easyui-combobox" name="traceState" style="width:165px;height: 35px;" data-options="panelHeight:'auto'">
                        <option value="1">已跟进</option>
                        <option value="0">未跟进</option>
                    </select>
                </td>
            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">客户状态:</span></td>
                <td>
                    <select class="easyui-combobox" name="customerStatus" style="width:175px;height: 35px;" data-options="panelHeight:'auto'">
                        <option value="1">已签约</option>
                        <option value="0">未签约</option>
                    </select>
                </td>
                <td><span style="font-size: 14px">学校电话:</span></td>
                <td><input class="easyui-textbox" name="schoolTel" style="width: 165px;height: 35px;"/></td>
                <td><span style="font-size: 14px">邮箱:</span></td>
                <td><input class="easyui-textbox" name="email" style="width: 165px;height: 35px;"/></td>
            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">学生数:</span></td>
                <td><input class="easyui-textbox" name="stuNumber" style="width: 175px;height: 35px;"/></td>
                <td><span style="font-size: 14px">it专业学生数:</span></td>
                <td><input class="easyui-textbox" name="itStuNumber" style="width: 165px;height: 35px;"/></td>
                <td><span style="font-size: 14px">学校类型:</span></td>
                <td><input class="easyui-combobox" name="type.id" style="width: 165px;height: 35px;"
                           data-options="url:'/systemDictionaryItem/getItemBySn.do?sn=type',textField:'name',valueField:'id',panelHeight:'auto'"/>
                </td>
            </tr>
            <tr align="right" style="height: 45px">
                <td><span style="font-size: 14px">传真:</span></td>
                <td><input class="easyui-textbox" name="telegraph" style="width: 175px;height: 35px;"/></td>
                <td><span style="font-size: 14px">邮政编码:</span></td>
                <td><input class="easyui-textbox" name="postcode" style="width: 165px;height: 35px;"/></td>
                <td><span style="font-size: 14px">教师数量:</span></td>
                <td><input class="easyui-textbox" name="teacherNumber" style="width: 165px;height: 35px;"/></td>
            </tr>

            <tr align="right" style="height: 80px">
                <td><span style="font-size: 14px">备注:
                <td colspan="6" align="left"><input type="textarea" name="remark"
                                                    style="height: 50px;width: 657px"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">简介:
                <td colspan="6" align="left"><input type="textarea" name="introduction" style="height: 50px;width: 657px"/>
                </td>
            </tr>

        </table>
    </form>
</div>
</body>
</html>
